{{define "chat_conversation"}}
<ul class="list-unstyled mb-0">
    <li>
        <div class="conversation-list">
            <div class="chat-avatar">
                <img src="/assets/images/users/avatar-4.jpg" alt="">
            </div>

            <div class="user-chat-content">
                <div class="ctext-wrap">
                    <div class="ctext-wrap-content">
                        <p class="mb-0">
                            早上好
                        </p>
                        <p class="chat-time mb-0"><i class="ri-time-line align-middle"></i> <span class="align-middle">10:00</span></p>
                    </div>
                    <div class="dropdown align-self-start">
                        <a class="dropdown-toggle" href="#" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                            <i class="ri-more-2-fill"></i>
                        </a>
                        <div class="dropdown-menu">
                            <a class="dropdown-item" href="#">复制 <i class="ri-file-copy-line float-right text-muted"></i></a>
                            <a class="dropdown-item" href="#">保存 <i class="ri-save-line float-right text-muted"></i></a>
                            <a class="dropdown-item" href="#">转发 <i class="ri-chat-forward-line float-right text-muted"></i></a>
                            <a class="dropdown-item" href="#">删除 <i class="ri-delete-bin-line float-right text-muted"></i></a>
                        </div>
                    </div>
                </div>
                <div class="conversation-name">{{.username}}</div>
            </div>
        </div>
    </li>

    <li class="right">
        <div class="conversation-list">
            <div class="chat-avatar">
                <img src="/assets/images/users/avatar-1.jpg" alt="">
            </div>

            <div class="user-chat-content">
                <div class="ctext-wrap">
                    <div class="ctext-wrap-content">
                        <p class="mb-0">
                            明天有XXXX会议，请按时参加
                        </p>
                        <p class="chat-time mb-0"><i class="ri-time-line align-middle"></i> <span class="align-middle">10:02</span></p>
                    </div>
                        
                    <div class="dropdown align-self-start">
                        <a class="dropdown-toggle" href="#" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                            <i class="ri-more-2-fill"></i>
                        </a>
                        <div class="dropdown-menu">
                            <a class="dropdown-item" href="#">复制 <i class="ri-file-copy-line float-right text-muted"></i></a>
                            <a class="dropdown-item" href="#">保存 <i class="ri-save-line float-right text-muted"></i></a>
                            <a class="dropdown-item" href="#">转发 <i class="ri-chat-forward-line float-right text-muted"></i></a>
                            <a class="dropdown-item" href="#">删除 <i class="ri-delete-bin-line float-right text-muted"></i></a>
                        </div>
                    </div>
                </div>
                <div class="conversation-name">李圣爱</div>
            </div>
        </div>
    </li>

    <li> 
        <div class="chat-day-title">
            <span class="title">Today</span>
        </div>
    </li>

    <li>
        <div class="conversation-list">
            <div class="chat-avatar">
                <img src="/assets/images/users/avatar-4.jpg" alt="">
            </div>

            <div class="user-chat-content">
                
                <div class="ctext-wrap">
                    <div class="ctext-wrap-content">
                        <p class="mb-0">
                            好的
                        </p>
                        <p class="chat-time mb-0"><i class="ri-time-line align-middle"></i> <span class="align-middle">10:05</span></p>
                    </div>
                    <div class="dropdown align-self-start">
                        <a class="dropdown-toggle" href="#" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                            <i class="ri-more-2-fill"></i>
                        </a>
                        <div class="dropdown-menu">
                            <a class="dropdown-item" href="#">复制 <i class="ri-file-copy-line float-right text-muted"></i></a>
                            <a class="dropdown-item" href="#">保存 <i class="ri-save-line float-right text-muted"></i></a>
                            <a class="dropdown-item" href="#">转发 <i class="ri-chat-forward-line float-right text-muted"></i></a>
                            <a class="dropdown-item" href="#">删除 <i class="ri-delete-bin-line float-right text-muted"></i></a>
                        </div>
                    </div>
                </div>

                <div class="ctext-wrap">
                    <div class="ctext-wrap-content">
                        <p class="mb-0">
                           确认一下会议时间，是明天上午9：00吧
                        </p>
                        <p class="chat-time mb-0"><i class="ri-time-line align-middle"></i> <span class="align-middle">10:05</span></p>
                    </div>
                    <div class="dropdown align-self-start">
                        <a class="dropdown-toggle" href="#" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                            <i class="ri-more-2-fill"></i>
                        </a>
                        <div class="dropdown-menu">
                            <a class="dropdown-item" href="#">复制 <i class="ri-file-copy-line float-right text-muted"></i></a>
                            <a class="dropdown-item" href="#">保存 <i class="ri-save-line float-right text-muted"></i></a>
                            <a class="dropdown-item" href="#">转发 <i class="ri-chat-forward-line float-right text-muted"></i></a>
                            <a class="dropdown-item" href="#">删除 <i class="ri-delete-bin-line float-right text-muted"></i></a>
                        </div>
                    </div>
                </div>
                
                <div class="conversation-name">{{.username}}</div>
            </div>
            
        </div>
    </li>

    <li class="right">
        <div class="conversation-list">
            <div class="chat-avatar">
                <img src="/assets/images/users/avatar-1.jpg" alt="">
            </div>

            <div class="user-chat-content">
                <div class="ctext-wrap">
                    <div class="ctext-wrap-content">
                        <p class="mb-0">
                            没问题
                        </p>
                        <p class="chat-time mb-0"><i class="ri-time-line align-middle"></i> <span class="align-middle">10:06</span></p>
                    </div>
                    <div class="dropdown align-self-start">
                        <a class="dropdown-toggle" href="#" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                            <i class="ri-more-2-fill"></i>
                        </a>
                        <div class="dropdown-menu">
                            <a class="dropdown-item" href="#">复制 <i class="ri-file-copy-line float-right text-muted"></i></a>
                            <a class="dropdown-item" href="#">保存 <i class="ri-save-line float-right text-muted"></i></a>
                            <a class="dropdown-item" href="#">转发 <i class="ri-chat-forward-line float-right text-muted"></i></a>
                            <a class="dropdown-item" href="#">删除 <i class="ri-delete-bin-line float-right text-muted"></i></a>
                        </div>
                    </div>
                </div>

                <div class="conversation-name">李胜爱</div>
            </div>
            
        </div>
    </li>

    <li>
        <div class="conversation-list">
            <div class="chat-avatar">
                <img src="/assets/images/users/avatar-4.jpg" alt="">
            </div>

            <div class="user-chat-content">
                <div class="ctext-wrap">
            
                    <div class="ctext-wrap-content">
                        <ul class="list-inline message-img  mb-0">
                            <li class="list-inline-item message-img-list">
                                <div>
                                    <a class="popup-img d-inline-block m-1" href="/assets/images/small/img-1.jpg" title="Project 1">
                                        <img src="/assets/images/small/img-1.jpg" alt="" class="rounded border">
                                    </a>
                                </div>
                                <div class="message-img-link">
                                    <ul class="list-inline mb-0">
                                        <li class="list-inline-item">
                                            <a href="#">
                                                <i class="ri-download-2-line"></i>
                                            </a>
                                        </li>
                                        <li class="list-inline-item dropdown">
                                            <a class="dropdown-toggle" href="#" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                                                <i class="ri-more-fill"></i>
                                            </a>
                                            <div class="dropdown-menu">
                                                <a class="dropdown-item" href="#">复制 <i class="ri-file-copy-line float-right text-muted"></i></a>
                                                <a class="dropdown-item" href="#">保存 <i class="ri-save-line float-right text-muted"></i></a>
                                                <a class="dropdown-item" href="#">转发 <i class="ri-chat-forward-line float-right text-muted"></i></a>
                                                <a class="dropdown-item" href="#">删除 <i class="ri-delete-bin-line float-right text-muted"></i></a>
                                            </div>
                                        </li>
                                    </ul>
                                </div>
                            </li>

                            <li class="list-inline-item message-img-list">
                                <div>
                                    <a class="popup-img d-inline-block m-1" href="/assets/images/small/img-2.jpg" title="Project 2">
                                        <img src="/assets/images/small/img-2.jpg" alt="" class="rounded border">
                                    </a>
                                </div>
                                <div class="message-img-link">
                                    <ul class="list-inline mb-0">
                                        <li class="list-inline-item">
                                            <a href="#">
                                                <i class="ri-download-2-line"></i>
                                            </a>
                                        </li>
                                        <li class="list-inline-item dropdown">
                                            <a class="dropdown-toggle" href="#" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                                                <i class="ri-more-fill"></i>
                                            </a>
                                            <div class="dropdown-menu">
                                                <a class="dropdown-item" href="#">复制 <i class="ri-file-copy-line float-right text-muted"></i></a>
                                                <a class="dropdown-item" href="#">保存 <i class="ri-save-line float-right text-muted"></i></a>
                                                <a class="dropdown-item" href="#">转发 <i class="ri-chat-forward-line float-right text-muted"></i></a>
                                                <a class="dropdown-item" href="#">删除 <i class="ri-delete-bin-line float-right text-muted"></i></a>
                                            </div>
                                        </li>
                                    </ul>
                                </div>
                            </li>
                        </ul>
                        <p class="chat-time mb-0"><i class="ri-time-line align-middle"></i> <span class="align-middle">10:09</span></p>
                    </div>
                        
                    <div class="dropdown align-self-start">
                        <a class="dropdown-toggle" href="#" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                            <i class="ri-more-2-fill"></i>
                        </a>
                        <div class="dropdown-menu">
                            <a class="dropdown-item" href="#">复制 <i class="ri-file-copy-line float-right text-muted"></i></a>
                            <a class="dropdown-item" href="#">保存 <i class="ri-save-line float-right text-muted"></i></a>
                            <a class="dropdown-item" href="#">转发 <i class="ri-chat-forward-line float-right text-muted"></i></a>
                            <a class="dropdown-item" href="#">删除 <i class="ri-delete-bin-line float-right text-muted"></i></a>
                        </div>
                    </div>
                    
                </div>
                
                <div class="conversation-name">{{.username}}</div>
            </div>
            
        </div>
    </li>

    <li class="right">
        <div class="conversation-list">
            <div class="chat-avatar">
                <img src="/assets/images/users/avatar-1.jpg" alt="">
            </div>

            <div class="user-chat-content">
                <div class="ctext-wrap">
            
                    <div class="ctext-wrap-content">
                        <div class="card p-2 mb-2">
                            <div class="media align-items-center">
                                <div class="avatar-sm mr-3">
                                    <div class="avatar-title bg-soft-primary text-primary rounded font-size-20">
                                        <i class="ri-file-text-fill"></i>
                                    </div>
                                </div>
                                <div class="media-body">
                                    <div class="text-left">
                                        <h5 class="font-size-14 mb-1">参会模板.zip</h5>
                                        <p class="text-muted font-size-13 mb-0">0.5 MB</p>
                                    </div>
                                </div>

                                <div class="ml-4">
                                    <ul class="list-inline mb-0 font-size-20">
                                        <li class="list-inline-item">
                                            <a href="#" class="text-muted">
                                                <i class="ri-download-2-line"></i>
                                            </a>
                                        </li>
                                        <li class="list-inline-item dropdown">
                                            <a class="dropdown-toggle text-muted" href="#" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                                                <i class="ri-more-fill"></i>
                                            </a>
                                            <div class="dropdown-menu dropdown-menu-right">
                                                <a class="dropdown-item" href="#">分享 <i class="ri-share-line float-right text-muted"></i></a>
                                                <a class="dropdown-item" href="#">删除 <i class="ri-delete-bin-line float-right text-muted"></i></a>
                                            </div>
                                        </li>
                                    </ul>
                                </div>
                            </div>
                        </div>

                        <p class="chat-time mb-0"><i class="ri-time-line align-middle"></i> <span class="align-middle">10:16</span></p>
                    </div>
                        
                    <div class="dropdown align-self-start">
                        <a class="dropdown-toggle" href="#" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                            <i class="ri-more-2-fill"></i>
                        </a>
                        <div class="dropdown-menu">
                            <a class="dropdown-item" href="#">Copy <i class="ri-file-copy-line float-right text-muted"></i></a>
                            <a class="dropdown-item" href="#">Save <i class="ri-save-line float-right text-muted"></i></a>
                            <a class="dropdown-item" href="#">Forward <i class="ri-chat-forward-line float-right text-muted"></i></a>
                            <a class="dropdown-item" href="#">Delete <i class="ri-delete-bin-line float-right text-muted"></i></a>
                        </div>
                    </div>
                    
                </div>
                
                <div class="conversation-name">李胜爱</div>
            </div>
            
        </div>
    </li>

    <li>
        <div class="conversation-list">
            <div class="chat-avatar">
                <img src="/assets/images/users/avatar-4.jpg" alt="">
            </div>
            
            <div class="user-chat-content">
                <div class="ctext-wrap">
                    <div class="ctext-wrap-content">
                        <p class="mb-0">
                            打字中
                            <span class="animate-typing">
                                <span class="dot"></span>
                                <span class="dot"></span>
                                <span class="dot"></span>
                            </span>
                        </p>
                    </div>
                </div>

                <div class="conversation-name">{{.username}}</div>
            </div>
            
        </div>
    </li>
    
</ul>
{{end}}